5.3
MEDIUM CVSS 3.1
CVE-2021-42781
Opensc Heap Buffer Overflow Vulnerability
Description

Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.

INFO

Published Date :

April 18, 2022, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 6:28 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-42781 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Fedoraproject fedora
1 Opensc_project opensc
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
A heap buffer overflow vulnerability was found in OpenSC, requiring an update.
  • Upgrade to OpenSC version 0.22.0 or later.
  • Update the affected packages.
Public PoC/Exploit Available at Github

CVE-2021-42781 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-42781 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 11 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 25, 2024, 11:34 p.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-42781 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-42781 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2016439
    Added Reference https://github.com/OpenSC/OpenSC/commit/05648b06
    Added Reference https://github.com/OpenSC/OpenSC/commit/17d8980c
    Added Reference https://github.com/OpenSC/OpenSC/commit/40c50a3a
    Added Reference https://github.com/OpenSC/OpenSC/commit/5d4daf6c
    Added Reference https://github.com/OpenSC/OpenSC/commit/cae5c71f
    Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
    Added Reference https://security.gentoo.org/glsa/202209-03
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 21, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 29, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202209-03 No Types Assigned https://security.gentoo.org/glsa/202209-03 Third Party Advisory
  • CVE Modified by [email protected]

    Sep. 07, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202209-03 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 25, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2016439 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2016439 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/OpenSC/OpenSC/commit/05648b06 No Types Assigned https://github.com/OpenSC/OpenSC/commit/05648b06 Patch, Third Party Advisory
    Changed Reference Type https://github.com/OpenSC/OpenSC/commit/17d8980c No Types Assigned https://github.com/OpenSC/OpenSC/commit/17d8980c Patch, Third Party Advisory
    Changed Reference Type https://github.com/OpenSC/OpenSC/commit/40c50a3a No Types Assigned https://github.com/OpenSC/OpenSC/commit/40c50a3a Patch, Third Party Advisory
    Changed Reference Type https://github.com/OpenSC/OpenSC/commit/5d4daf6c No Types Assigned https://github.com/OpenSC/OpenSC/commit/5d4daf6c Patch, Third Party Advisory
    Changed Reference Type https://github.com/OpenSC/OpenSC/commit/cae5c71f No Types Assigned https://github.com/OpenSC/OpenSC/commit/cae5c71f Patch, Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* versions up to (excluding) 0.22.0
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.00%

score

0.23970

percentile